/* 
 * File:   InputHandling.h
 * Author: Piotrek
 *
 * Created on 24 kwiecień 2010, 20:31
 */

#ifndef _INPUTHANDLING_H
#define	_INPUTHANDLING_H

#include "GL/glfw.h"

extern int z0;
extern GLfloat z;
extern GLfloat x;
extern GLfloat y;

extern GLfloat xspeed;
extern GLfloat yspeed;

extern GLfloat	xrot;   		// X Rotation
extern GLfloat	yrot;			// Y Rotation

extern int running;
extern bool pause;


void GLFWCALL keyfun( int key, int action );
void GLFWCALL mouseWheelFun (int position);
void GLFWCALL mouseButtonFun(int button, int action);

void checkMouseButtons(void);

#endif	/* _INPUTHANDLING_H */

